home *** CD-ROM | disk | FTP | other *** search
/ Hip Tissue / Hip Tissue - Disc 1.iso / pc / dir / movie6.dxr / 00002_panic.ls < prev    next >
Encoding:
Text File  |  1997-11-09  |  2.5 KB  |  61 lines

  1. property UpCM, DownCM, UpNum, DownNum, button_active
  2.  
  3. on mouseDown me
  4.   set the member of sprite the spriteNum of me to member the DownCM of me
  5.   set the button_active of me to 1
  6. end
  7.  
  8. on mouseUp me
  9.   set the member of sprite the spriteNum of me to member the UpCM of me
  10.   set the button_active of me to 0
  11.   set wleft to the stageLeft
  12.   set wtop to the stageTop
  13.   set stagedef to rect(wleft, wtop, wleft + 640, wtop + 480)
  14.   set the rect of window "panic" to stagedef
  15.   set the windowType of window "panic" to 3
  16.   open(window "panic")
  17.   pause()
  18. end
  19.  
  20. on mouseEnter me
  21.   if the button_active of me then
  22.     set the member of sprite the spriteNum of me to member the DownCM of me
  23.   end if
  24. end
  25.  
  26. on mouseLeave me
  27.   if the button_active of me then
  28.     set the member of sprite the spriteNum of me to member the UpCM of me
  29.   end if
  30. end
  31.  
  32. on mouseUpOutSide me
  33.   set the button_active of me to 0
  34. end
  35.  
  36. on beginSprite me
  37.   set the UpCM of me to the member of sprite the spriteNum of me
  38.   set the UpNum of me to the number of member UpCM
  39.   set the DownNum of me to the number of member DownCM
  40.   set the button_active of me to 0
  41. end
  42.  
  43. on endSprite me
  44. end
  45.  
  46. on getPropertyDescriptionList
  47.   if the currentSpriteNum = 0 then
  48.     set memdefault to 0
  49.   else
  50.     set memref to the member of sprite the currentSpriteNum
  51.     set castLibNum to the castLibNum of memref
  52.     set memdefault to member (the memberNum of member memref + 1) of castLib castLibNum
  53.   end if
  54.   set p_list to [#DownCM: [#comment: "テ「テシテ‡ツオテ‡テスティテ崚ォ窶佚‡テε韻テ嘉…テ…[テ姥:", #format: #graphic, #default: memdefault]]
  55.   return p_list
  56. end
  57.  
  58. on getBehaviorDescription
  59.   return "テ厭テ右テ厩テ榎テ韻テ嘉ャテ運テ‡テε ツ テュuテ‡窶ヲテョテステ「テサテ‡ツオテ②テゥツゥテャテ†テャIテ‡窶ヲテ穎テ韻テ嘉「テ韻テ曳テ‡テ敕‡テ暗益テ叡テ鰻テ嘉姪閲テ運テ嘉ャテ‡テ静‡ツオテ‡ニ津厩テ益テ嘉「テ韻テ曳テ‡ツ敕ィテ„テョツヲテ‡ツオテ‡窶ケテ‡テ敕③テ厩テ益テ嘉「テ韻テ曳テ‡窶ヲテァツシティテ「テ‡窶ヲテ、テ妥‡テ凝ャテアテ‡ニ津‡テテ‡テ催‡テステ鵜テ嘉嘉厩テ曳テ嘉…テ嘉ャテ頴テ…[テ‡邃「テ②テ閲テ運テ嘉ャテ‡テε…uテッWティテ„テ…vティテ崚ォ窶佚‡ツ敕ゥツカテ‡テ敕‡窶。テ‡テε‡テ静‡窶コテ‡ツサテ‡ナステ‡テ催‡窶ケテ‡テ敕③テ益テ叡テ鰻テ嘉姪閲テ運テ嘉ャテ‡テ静‡ツオテ‡ニ津ャテ†テァテ湘‡ナステ‡テセテ‡テステ‡ツ「テ厩テ益テ嘉「テ韻テ曳テ‡窶ヲテ栄テ嘉「テ叡テ碓テ‡ツオテ‡ニ津ゥgテウpテ‡ツオテ‡ニ津‡ツ催‡テヲテ‡ナステ‡ツ「テ③" & RETURN & RETURN & "テ⒃テ英テ嘉「テ嘉…テ…[テ運テ⒄" & RETURN & "窶「 テ「テシテ‡ツオテ‡テスティテ崚ォ窶佚‡テε韻テ嘉…テ…[テ姥: テ閲テ運テ嘉ャテ‡邃「テ「テシテ‡ナステ‡テ催‡テスティテ崚ォ窶佚‡テε韻テ嘉…テ…[テ姥テ‡テ静‡ツサテ‡テ暗詠テ叡テ曳テ厭テ叡テ益テ鵜テ嘉嘉厩テ曳テ嘉…テ嘉ャテ頴テ…[テ‡ツ敕ォIテォツ敕③テ映テ液テ羽テ嘉」テ曳テ‡テ陛②テ厩テ益テ嘉「テ韻テ曳テ‡窶ヲテ・ツェテァ窶コテ、テ妥‡テ凝ャテアテ‡ニ津‡テテ‡テ催‡ニ津‡ツ「テ‡テ暗鵜テ嘉嘉厩テ曳テ嘉…テ嘉ャテ頴テ…[テ‡テεウテ療⑿テ鵜テ嘉嘉厩テ曳テョ窶佚ァテœ + 1テ⒀テ‡テε鵜テ嘉嘉厩テ曳テ嘉…テ嘉ャテ頴テ…["
  60. end
  61.